package eworldpacs.ui;

import leadtools.RasterImage;
import leadtools.controls.ImageViewerInteractiveMode;
import leadtools.dicom.DicomDataSet;
import android.app.Application;

public class DicomDemoApplication extends Application {

   private DicomDataSet _loadedDicomDataSet = null;
   private RasterImage _loadedImage = null;
   private WindowLeveler _currentWindowLeveler = null;
   private ImageViewerInteractiveMode _interactiveMode = null;
   
   public DicomDataSet getLoadedDataSet(){
     return _loadedDicomDataSet;
   }
   
   public void setLoadedDataSet(DicomDataSet d){
      _loadedDicomDataSet = d;
   }
   
   public RasterImage getLoadedImage(){
      return _loadedImage;
   }
   
   public void setLoadedImage(RasterImage _loadedDataSet){
      _loadedImage = _loadedDataSet;
   }
   
   public void setWindowLeveler(WindowLeveler windowLeveler){
      _currentWindowLeveler = windowLeveler;
   }
   
   public WindowLeveler getWindowLeveler(){
      return _currentWindowLeveler;
   }
   
   public void setLastInteractiveMode(ImageViewerInteractiveMode interactiveMode){
      _interactiveMode = interactiveMode;
   }
   
   public ImageViewerInteractiveMode getLastInteractiveMode(){
      return _interactiveMode;
   }
}
